Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix response status and headers #245

Merged
merged 3 commits into from
Aug 13, 2024
Merged

Conversation

tkmcmaster
Copy link
Collaborator

- We were using hyper Response::new to just copy the body when we should've been using Response::from_parts which keeps the headers and status when converting from Incoming to BoxBody
@tkmcmaster tkmcmaster requested a review from a team August 12, 2024 22:15
@tkmcmaster tkmcmaster self-assigned this Aug 12, 2024
@tkmcmaster tkmcmaster merged commit 031c07d into master Aug 13, 2024
18 checks passed
@tkmcmaster tkmcmaster deleted the fix-response-status-and-headers branch August 13, 2024 14:07
tkmcmaster added a commit that referenced this pull request Aug 13, 2024
* Fix response status and headers (#245)

* Added additional logging to the response handler

* Fixed a bug from the hyper upgrade

- We were using hyper Response::new to just copy the body when we should've been using Response::from_parts which keeps the headers and status when converting from Incoming to BoxBody

* Updated the Cargo.lock file to latest

* Revert change to stdout to match master branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants